package com.check.checksamejourney.util;

import org.springframework.context.ConfigurableApplicationContext;

public class SpringBootUtil {

    public static ConfigurableApplicationContext configurableApplicationContext;

    public static <T> T getBean(Class<T> tClass){
        return configurableApplicationContext.getBean(tClass);
    }

}
